#ifndef LINEELEMENT_H
#define LINEELEMENT_H

#include "element.h"
#include <QString>
#include "Fitting/GeometryTypes.h"
namespace  ELEMENT {
    class Line: public Element
    {
        Fitting::Line line;
    public:
        Line();
        void setGeometry(Fitting::Line &l);
        bool fit(const std::vector<Point>& points);
        void Draw(QOpenGLShaderProgram &shader);
        QString Info();
    };
}
#endif // LINEELEMENT_H
